home *** CD-ROM | disk | FTP | other *** search
/ Practical Internet 2002 February / Practical Internet February 2002.iso / pc / Software / SiteBuilding / HomeSite_Installer.exe / data1.cab / Documentation / VTML_Reference / vtmlrefsizing.css < prev    next >
Encoding:
Cascading Style Sheet File  |  2001-10-11  |  2.3 KB  |  128 lines

  1. /* --------------------------------------- */
  2. /* Styles for VTML Reference documentation */
  3. /* 1999-11-07                              */
  4. /*                                         */
  5. /* StyleSheet created with TopStyle 1.5    */
  6. /* --------------------------------------- */
  7.  
  8. /* --------------------------------------- */
  9. /* All sizing (in em units) is in this     */
  10. /* stylesheet which is imported.           */
  11. /* This means IE3 won't stumble over the   */
  12. /* em units (interpreting them as pixels)  */
  13. /* and there won't be (as many) inheritance*/
  14. /* problems with NS4 since neither IE3 nor */
  15. /* NS4 support @import.                    */
  16. /* --------------------------------------- */
  17.  
  18. /* --- BASICS --- */
  19.  
  20. BODY {
  21.     /* basic font size relative to user's font size but slightly smaller to allow for the small Help window in HomeSite and Studio */
  22.     margin-top : 1.2em;
  23.     margin-left : 4em;
  24.     font-size : 0.9em; /* relative to user's font size */
  25. }
  26.  
  27. /* --- HEADERS --- */
  28.  
  29. H1 {
  30.     margin-bottom : 0.3em;
  31.     margin-left : -2em;
  32.     font-size : 1.8em;
  33. }
  34.  
  35. H2 {
  36.     margin-bottom : 0.3em;
  37.     margin-left : -1.5em;
  38.     font-size : 1.6em;
  39. }
  40.  
  41. H3 {
  42.     margin-bottom : 0.3em;
  43.     margin-left : -1em;
  44.     font-size : 1.4em;
  45. }
  46.  
  47. H4 {
  48.     margin-bottom : 0.3em;
  49.     font-size : 1.2em;
  50. }
  51.  
  52. H5 {
  53.     font-size : 1.1em;
  54. }
  55.  
  56. /* --- CODE AND EXAMPLES .--- */
  57.  
  58. CODE {
  59.     /* inherit background color */
  60.     font-size : 1.1em;
  61. }
  62.  
  63. SAMP {
  64.     margin-left : 0.2em;
  65.     font-size : 1.1em;
  66.     line-height : 1.1em
  67. }
  68.  
  69. PRE {
  70.     margin-top : 0.8em;
  71.     margin-bottom : 0.8em;
  72.     font-size : 1em;
  73.     line-height : 1.2em
  74. }
  75.  
  76. DD PRE {
  77.     margin-top : 0.8em;
  78.     margin-bottom : 0.8em;
  79.     font-size : 1em;
  80. }
  81.  
  82. OL PRE, UL PRE {
  83.     margin-top : 0.5em;
  84.     font-size : 1em;
  85. }
  86.  
  87. PRE.syntax {
  88.     margin-left : 0.4em;
  89.     font-size : 1.05em;
  90. }
  91.  
  92. /* --- TABLES --- */
  93.  
  94. TABLE {
  95.     margin-top : 1em;
  96. }
  97.  
  98. TD {
  99.     /* seems to be (roughly) default for P but in TD line-height is larger by default;
  100.     this is added to make them appear more similar */
  101.     line-height : 1.09em
  102. }
  103.  
  104. TD UL {
  105.     margin-top : 0.5em;
  106. }
  107.  
  108. /* --- LISTS --- */
  109.  
  110. OL P, UL P {
  111.     margin-top : 0.5em;
  112.     margin-bottom : 0.5em;
  113. }
  114.  
  115. OL UL, UL UL, UL OL, OL OL {
  116.     margin-left : 2.5em;
  117. }
  118.  
  119. OL LI LI {
  120.     margin-top : 1em;
  121. }
  122.  
  123. /* --- FOOTNOTE --- */
  124.  
  125. .footnote {
  126.     font-size : 0.8em;
  127. }
  128.